package com.example.telesys.dto;

import org.springframework.stereotype.Component;

public class PhoneOrderDTO {

    private String phoneid;

    private String username;

    private String phonename;

    private String phonesize;

    private String phonetype;

    private String phonecolor;

    private String email;

    private String receiver;

    private String area;

    private String addressdetail;

    private String phonenumber;

    private Integer price;

    private Integer number;

    private String supplierid;

    public String getSupplierid() {
        return supplierid;
    }

    public void setSupplierid(String supplierid) {
        this.supplierid = supplierid;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }


    public PhoneOrderDTO() {
    }

    public PhoneOrderDTO(String phoneid, String phonename, String phonesize, String phonetype, String phonecolor, String email, String receiver, String area, String addressdetail, String phonenumber) {
        this.phoneid = phoneid;
        this.phonename = phonename;
        this.phonesize = phonesize;
        this.phonetype = phonetype;
        this.phonecolor = phonecolor;
        this.email = email;
        this.receiver = receiver;
        this.area = area;
        this.addressdetail = addressdetail;
        this.phonenumber = phonenumber;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhoneid() {
        return phoneid;
    }

    public void setPhoneid(String phoneid) {
        this.phoneid = phoneid;
    }

    public String getPhonename() {
        return phonename;
    }

    public void setPhonename(String phonename) {
        this.phonename = phonename;
    }

    public String getPhonesize() {
        return phonesize;
    }

    public void setPhonesize(String phonesize) {
        this.phonesize = phonesize;
    }

    public String getPhonetype() {
        return phonetype;
    }

    public void setPhonetype(String phonetype) {
        this.phonetype = phonetype;
    }

    public String getPhonecolor() {
        return phonecolor;
    }

    public void setPhonecolor(String phonecolor) {
        this.phonecolor = phonecolor;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getAddressdetail() {
        return addressdetail;
    }

    public void setAddressdetail(String addressdetail) {
        this.addressdetail = addressdetail;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }


    @Override
    public String toString() {
        return "PhoneOrderDTO{" +
                "phoneid='" + phoneid + '\'' +
                ", username='" + username + '\'' +
                ", phonename='" + phonename + '\'' +
                ", phonesize='" + phonesize + '\'' +
                ", phonetype='" + phonetype + '\'' +
                ", phonecolor='" + phonecolor + '\'' +
                ", email='" + email + '\'' +
                ", receiver='" + receiver + '\'' +
                ", area='" + area + '\'' +
                ", addressdetail='" + addressdetail + '\'' +
                ", phonenumber='" + phonenumber + '\'' +
                '}';
    }
}
